package com.zn.opit.shirodemo.domain.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;

import java.io.Serializable;

/**
 * <p>
 * 权限表
 * </p>
 *
 * @author zhinian
 * @since 2024-02-25
 */
@Getter
@Setter
@TableName("sys_perm")
@ApiModel(value = "SysPermEntity对象", description = "权限表")
public class SysPermEntity implements Serializable {

    @ApiModelProperty("权限标识符")
    private String permId;

    @ApiModelProperty("权限名称")
    private String permName;

    @ApiModelProperty("上级权限ID")
    private String pid;

    @ApiModelProperty("权限地址")
    private String url;

    @ApiModelProperty("类型:1-菜单;2-按钮")
    private Integer type;

    @ApiModelProperty("图标样式")
    private String icon;

    @ApiModelProperty("排序号")
    private Integer sortNumber;


}
